package cn.edu.scau.cmi.ZengLinghong.chapter01;

import java.util.Scanner;

public class Helloworld {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("Hello World");
		Circle firstCircle = new Circle();
		firstCircle.radius=1.0;
		firstCircle.perimeter=firstCircle.getPerimeter();
		firstCircle.area=firstCircle.getArea();
		System.out.println(firstCircle.radius);
		System.out.println(firstCircle.perimeter);
		System.out.println(firstCircle.area);
		firstCircle.radius=in.nextDouble();
		firstCircle.perimeter=firstCircle.getPerimeter();
		firstCircle.area=firstCircle.getArea();
		System.out.println(firstCircle.radius);
		System.out.println(firstCircle.perimeter);
		System.out.println(firstCircle.area);
	}
}
